import React from 'react';
function Btn(props) {
  let { type } = props;
  let dom=<span> 全部</span>;
  switch (type) {
    case 1:
      dom= <span> 待支付</span>
      break;
    case 2:
      dom= <span> 代发货</span>
      break;
    case 3:
      dom= <span> 待收货</span>
      break;
    case 4:
      dom= <span> 待评论</span>
      break;
    default:
      dom=<span> 全部</span>
      break;
  }
  return dom
}
export default Btn;